﻿#ifndef ENDOFCHARGEVERIFY_H
#define ENDOFCHARGEVERIFY_H

#include <QWidget>
#include "Global.h"
#include "MyPasswordFile.h"

namespace Ui {
class EndOfChargeVerify;
}

class EndOfChargeVerify : public QWidget
{
    Q_OBJECT
    
public:
    CountDownTime* countdown[GUN_AMOUNT];
    QLabel* time;
    QLabel* signal;
    explicit EndOfChargeVerify(QWidget *parent = 0);
    ~EndOfChargeVerify();
public slots:
    void countdownOver();
    void on_Keyboard_clicked();

private slots:
    void setCountHide(int );
    void on_buttonOk_clicked();

    void on_buttonBack_clicked();

private:
    MyPasswordFile newPassword;
    Ui::EndOfChargeVerify *ui;
    void keyBoardConnect();
    void keyHandle(QPushButton* btn, QLineEdit* lineEdit);
};

#endif // ENDOFCHARGEVERIFY_H
